Skip to content

fix(ci): restore Stage Gate command contracts - #156

Merged
KooshaPari merged 3 commits into
mainfrom
fix/stage-gate-scripts-20260828
Sep 2, 2026
Merged

fix(ci): restore Stage Gate command contracts#156
KooshaPari merged 3 commits into
mainfrom
fix/stage-gate-scripts-20260828

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Aug 28, 2026

Copy link
Copy Markdown
Owner

User description

Summary

Restores the three command contracts invoked by Stage Gates without changing the workflow:

  • Declares and locks @biomejs/biome 2.5.11; adds format:check as biome check ..
  • Adds a root unit-test command using existing Bun test suites only: runtime source tests, runtime unit tests, desktop unit tests, package tests, script tests, and root unit tests.
  • Adds test:coverage, delegating to the existing tools/gates/runtime-coverage.mjs threshold gate (default 85%).

Scope

Only package.json and bun.lock changed. The Stage Gates workflow, lint command, synthetic coverage manifest, secrets, and dependencies unrelated to Biome are untouched.

Validation

  • Hosted failing baseline: run 33149107083 reports all three aliases absent.
  • bun add --dev --lockfile-only --save-text-lockfile @biomejs/biome@2.5.11 generated a narrow lockfile delta: root devDependency plus Biome and its eight platform binaries.
  • Remote branch diff verified: 4 package.json additions and 19 bun.lock additions.
  • Full source command execution is delegated to this PR’s hosted Stage Gates run because the task explicitly prohibits creating a HeliosLab checkout.

CodeAnt-AI Description

Restore Stage Gate checks for formatting, tests, and coverage

What Changed

  • Restores the formatting check across active source, package, script, and test directories using a pinned Biome version
  • Adds a root test command covering runtime, desktop, package, script, and unit test suites
  • Restores the coverage command that enforces the existing runtime coverage threshold

Impact

✅ Stage Gates can run all required checks
✅ Consistent formatting validation across active source roots
✅ Runtime coverage thresholds enforced in CI

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Copilot AI lite review requested due to automatic review settings August 28, 2026 06:59
@codeant-ai

codeant-ai Bot commented Aug 28, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Incremental review completed fc4f7bf Sep 02, 2026 · 01:12 01:12
✅ Reviewed your PR 58b3916 Aug 28, 2026 · 06:59 06:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codeant-ai

codeant-ai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@github-actions

Copy link
Copy Markdown

⚠️ Self-merge is blocked due to missing requirements:

  • ❌ Not all quality gates have passed
  • ❌ PR does not have required review approval

Please ensure all checks pass before merging.

@github-actions

Copy link
Copy Markdown

Compliance Check ✅

All constitution compliance checks passed!

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Aug 28, 2026
@socket-security

socket-security Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​biomejs/​biome@​2.5.1110010010099100

View full report

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58b3916a36

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread package.json
Comment thread package.json Outdated
@github-actions

Copy link
Copy Markdown

⚠️ Self-merge is blocked due to missing requirements:

  • ❌ Not all quality gates have passed
  • ❌ PR does not have required review approval

Please ensure all checks pass before merging.

@github-actions

Copy link
Copy Markdown

Compliance Check ✅

All constitution compliance checks passed!

@github-actions

Copy link
Copy Markdown

Quality Gate Report

❌ Unit Tests: FAILED
✅ E2E Tests: PASSED
⏭️ Integration Tests: SKIPPED (no integration directory)
✅ FR Annotations: VALID

@github-actions

Copy link
Copy Markdown

Quality Gate Report

✅ Unit Tests: PASSED
✅ E2E Tests: PASSED
⏭️ Integration Tests: SKIPPED (no integration directory)
✅ FR Annotations: VALID

Comment thread package.json
Comment thread package.json
@kilo-code-bot

kilo-code-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
WARNING 1
Issue Details (click to expand)

WARNING

File Line Issue
package.json 12 format:check uses biome check, which runs lint rules in addition to format checks. If the gate is intended to validate only formatting, biome format would be more precise; lint failures unrelated to formatting will also block this command.
Files Reviewed (1 file)
  • package.json - 1 issue

Fix these issues in Kilo Cloud

Previous Review Summary (commit 6330ad5)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 6330ad5)

Status: 2 Warnings | Recommendation: Approve with notes

Overview

Severity Count
WARNING 2
Issue Details (click to expand)

WARNING

File Line Issue
package.json 9 format:check uses biome check which includes lint rules; if the intent is format-only, use biome format
package.json 10 packages/*/tests glob may not match, causing bun test to receive a literal non-existent path
Files Reviewed (2 files)
  • package.json - 2 warnings
  • bun.lock - no issues

Fix these issues in Kilo Cloud


Reviewed by free · Input: 29.8K · Output: 10.1K · Cached: 130K

@KooshaPari
KooshaPari enabled auto-merge (squash) September 2, 2026 01:09
@codeant-ai

codeant-ai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚠️ Self-merge is blocked due to missing requirements:

  • ❌ Not all quality gates have passed
  • ❌ PR does not have required review approval

Please ensure all checks pass before merging.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Compliance Check ✅

All constitution compliance checks passed!

@KooshaPari
KooshaPari force-pushed the fix/stage-gate-scripts-20260828 branch from fc4f7bf to bde043d Compare September 2, 2026 01:55
@KooshaPari
KooshaPari merged commit 3f51582 into main Sep 2, 2026
22 of 39 checks passed
@KooshaPari
KooshaPari deleted the fix/stage-gate-scripts-20260828 branch September 2, 2026 01:55
@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚠️ Self-merge is blocked due to missing requirements:

  • ❌ Not all quality gates have passed
  • ❌ PR does not have required review approval

Please ensure all checks pass before merging.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Compliance Check ✅

All constitution compliance checks passed!

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Quality Gate Report

✅ Unit Tests: PASSED
❌ E2E Tests: FAILED
⏭️ Integration Tests: SKIPPED (no integration directory)
✅ FR Annotations: VALID

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Compliance Check ✅

All constitution compliance checks passed!

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚠️ Self-merge is blocked due to missing requirements:

  • ❌ Not all quality gates have passed
  • ❌ PR does not have required review approval

Please ensure all checks pass before merging.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Quality Gate Report

✅ Unit Tests: PASSED
✅ E2E Tests: PASSED
⏭️ Integration Tests: SKIPPED (no integration directory)
✅ FR Annotations: VALID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants